Added GtkTreeViewColumn:cell-area construct-only property.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Wed, 1 Dec 2010 14:26:25 +0000 (23:26 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 5 Dec 2010 13:14:40 +0000 (22:14 +0900)
commit1b28d8725302f7e7cb2da5eb47ef42d76205dfe9
treeee971df9723f0f0b5c2c1b852f7262b1cb0c35bf
parent0baee408f298bf52bca7ef5e58f0d8785508910f
Added GtkTreeViewColumn:cell-area construct-only property.

Allow feeding treeviewcolumn a custom cell-area (or not a custom one,
but allow sharing the cell-area with say, the combo-box area).

This patch also:

 - Fixes signal connections to the area (now they do eventually get
   disconnected at dispose time, they are handled regardless if a
   treeview is set but execute safely, at least there is only one
   connection/disconnection).

 - Fixes refcounting on the cell_area (GtkCellArea is GInitiallyUnowned).

 - Adds a constructor() in order to build the cell-area if one has
   not been provided by the caller before hand at g_object_new()
   construct time.
gtk/gtktreeviewcolumn.c